// TCP/UDP相关的中文翻译
export const tcpClientZhCN = {
  title: 'TCP 客户端',
  description: 'TCP 协议客户端连接测试工具',
  connection: '连接配置',
  host: '服务器地址',
  port: '端口',
  encoding: '编码',
  lineEnding: '行结束符',
  none: '无',
  connect: '连接',
  disconnect: '断开连接',
  sendData: '发送数据',
  enterMessage: '输入要发送的消息',
  hexInput: 'HEX 输入',
  send: '发送',
  messages: '消息记录',
  noMessages: '暂无消息',
  statistics: '统计信息',
  messagesSent: '发送消息',
  messagesReceived: '接收消息',
  bytesSent: '发送字节',
  bytesReceived: '接收字节',
  received: '接收',
  sent: '发送',
  system: '系统',
  connectionSuccess: '连接成功',
  connectionFailed: '连接失败',
  disconnected: '已断开连接',
  connectionLost: '连接已丢失',
  sendFailed: '发送失败'
}

export const tcpServerZhCN = {
  title: 'TCP 服务器',
  description: 'TCP 协议服务器监听和管理工具',
  serverControl: '服务器控制',
  port: '监听端口',
  encoding: '编码',
  startServer: '启动服务器',
  stopServer: '停止服务器',
  listeningOn: '正在监听端口',
  connectedClients: '已连接客户端',
  noClients: '暂无客户端连接',
  address: '地址',
  status: '状态',
  connected: '已连接',
  actions: '操作',
  kick: '断开',
  sendData: '发送数据',
  sendTo: '发送到',
  selectClient: '选择客户端',
  broadcast: '广播所有',
  enterMessage: '输入要发送的消息',
  hexInput: 'HEX 输入',
  send: '发送',
  messages: '消息记录',
  allClients: '所有客户端',
  noMessages: '暂无消息',
  statistics: '统计信息',
  activeClients: '活动客户端',
  totalConnections: '总连接数',
  messagesReceived: '接收消息',
  messagesSent: '发送消息',
  received: '接收',
  sent: '发送',
  system: '系统',
  serverStarted: '服务器已启动',
  serverStopped: '服务器已停止',
  serverStartFailed: '服务器启动失败',
  clientConnected: '客户端已连接',
  clientDisconnected: '客户端已断开',
  broadcastSent: '广播消息已发送',
  sendFailed: '发送失败'
}

export const udpClientZhCN = {
  title: 'UDP 客户端',
  description: 'UDP 协议客户端数据包发送工具',
  configuration: '配置',
  remoteHost: '远程主机',
  remotePort: '远程端口',
  localPort: '本地端口',
  auto: '自动',
  localPortTip: '留空则自动分配',
  encoding: '编码',
  start: '启动',
  stop: '停止',
  boundTo: '绑定到端口',
  sendData: '发送数据',
  enterMessage: '输入要发送的消息',
  hexInput: 'HEX 输入',
  send: '发送',
  messages: '消息记录',
  noMessages: '暂无消息',
  statistics: '统计信息',
  packetsSent: '发送数据包',
  packetsReceived: '接收数据包',
  bytesSent: '发送字节',
  bytesReceived: '接收字节',
  received: '接收',
  sent: '发送',
  system: '系统',
  clientStarted: 'UDP 客户端已启动',
  clientStopped: 'UDP 客户端已停止',
  startFailed: '启动失败',
  sendFailed: '发送失败'
}

export const udpServerZhCN = {
  title: 'UDP 服务器',
  description: 'UDP 协议服务器监听和响应工具',
  serverControl: '服务器控制',
  port: '监听端口',
  encoding: '编码',
  startServer: '启动服务器',
  stopServer: '停止服务器',
  listeningOn: '正在监听端口',
  recentClients: '最近的客户端',
  noClients: '暂无客户端',
  address: '地址',
  lastSeen: '最后活动',
  sendResponse: '发送响应',
  targetHost: '目标主机',
  targetPort: '目标端口',
  useSelected: '使用选中',
  enterMessage: '输入要发送的消息',
  hexInput: 'HEX 输入',
  send: '发送',
  messages: '消息记录',
  allClients: '所有客户端',
  noMessages: '暂无消息',
  statistics: '统计信息',
  uniqueClients: '独立客户端',
  packetsReceived: '接收数据包',
  packetsSent: '发送数据包',
  totalData: '总数据量',
  received: '接收',
  sent: '发送',
  system: '系统',
  serverStarted: '服务器已启动',
  serverStopped: '服务器已停止',
  serverStartFailed: '服务器启动失败',
  sendFailed: '发送失败'
}